package com.example.spzx.Service;

import com.example.spzx.model.dto.product.ProductDto;
import com.example.spzx.model.entity.product.Product;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

@Service
public interface ProductService {
    PageInfo<Product> select(Integer page, Integer limit, ProductDto productDto);

    void save(Product product);

    Product getbyid(Integer id);

    void updateByid(Product product);
}
